x86/suspend: Don't save/restore %cr8
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 15 Jul 2019 16:21:02 +0000 (17:21 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 16 Jul 2019 12:52:17 +0000 (13:52 +0100)
commitd5c326eca804e180e1dd37b47bba1a7ed3a124da
treea839a99838900d7d6ded9050e47fa5423f8c1e21
parent7e9a8545fad60aac34a25335a365703f102a40ab
x86/suspend: Don't save/restore %cr8

%cr8 is an alias of APIC_TASKPRI, which is handled by
lapic_{suspend,resume}() with the rest of the Local APIC state.  Saving
and restoring the TPR state in isolation is not a clever idea.

Drop it all.

While editing wakeup_prot.S, trim its include list to just the headers
which are used, which is precicely none of them.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/wakeup_prot.S